function ajax_paging(url_path,div_id,curent_url_path){    
	jQuery.jCache.maxSize = 10;
	if(document.getElementById(div_id)){
		var cache_key 			= escape(url_path);  
		var current_cache_key 	= escape(curent_url_path);
	
		if (jQuery.jCache.hasItem(cache_key)){
			if(current_cache_key!=cache_key)
			jQuery.jCache.setItem(current_cache_key,document.getElementById(div_id).innerHTML);
			jQuery("#"+div_id).html(jQuery.jCache.getItem(cache_key));
			return;
		}
		
		jQuery.ajax({
		  url: url_path,
		  cache: true,
		  success: function(html){
			if(html!='' && html!='undefined'){
				if(current_cache_key!=cache_key)
				jQuery.jCache.setItem(current_cache_key,document.getElementById(div_id).innerHTML);
				jQuery.jCache.setItem(cache_key, html);
				 jQuery("#"+div_id).html(html);
			}
		  }
		});
	}
}
/*
function ajax_paging(url_path,div_id,curent_url_path){    
	jQuery.jCache.maxSize = 10;
    var cache_key = escape(url_path);  
    var current_cache_key = escape(curent_url_path);  
	var divid = '#' + div_id;

	if (jQuery.jCache.hasItem(cache_key))
    {
		jQuery.jCache.removeItem(current_cache_key);
		jQuery.jCache.setItem(current_cache_key,jQuery(divid).html());
		jQuery(divid).html(jQuery.jCache.getItem(cache_key));
		//document.getElementById(div_id).innerHTML = jQuery.jCache.getItem(cache_key);
        return;
    }
	
	jQuery.ajax({
	  url: url_path,
	  cache: true,
	  success: function(html){
		if(html!='' && html!='undefined')
		{			
			jQuery.jCache.removeItem(current_cache_key);
			jQuery.jCache.setItem(current_cache_key,jQuery(divid).html());
			jQuery.jCache.setItem(cache_key, html);
			jQuery(divid).html(html);
			//document.getElementById(div_id).innerHTML = html;
		}				

	  }
	});		
}*/